# $NetBSD: Makefile,v 1.3 2012/10/04 18:42:21 asau Exp $

DISTNAME=	MongoDB-v2.2.2
PKGNAME=	p5-${DISTNAME:S/-v/-/}
CATEGORIES=	databases
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=../../authors/id/M/MO/MONGODB/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://metacpan.org/release/MongoDB
COMMENT=	Mongo Driver for Perl
LICENSE=	apache-2.0

DEPENDS+=	p5-Any-Moose>=0.18:../../devel/p5-Any-Moose
DEPENDS+=	p5-Class-Method-Modifiers>=1.07:../../devel/p5-Class-Method-Modifiers
DEPENDS+=	p5-Data-Types>=0.09:../../wip/p5-Data-Types
DEPENDS+=	p5-DateTime>=0.6600nb1:../../time/p5-DateTime
DEPENDS+=	p5-File-Slurp>=9999.19:../../devel/p5-File-Slurp
DEPENDS+=	p5-JSON>=2.53:../../converters/p5-JSON
DEPENDS+=	p5-Tie-IxHash>=1.22nb2:../../devel/p5-Tie-IxHash
DEPENDS+=	p5-Try-Tiny>=0.09:../../devel/p5-Try-Tiny
DEPENDS+=	p5-boolean>=0.28:../../devel/p5-boolean
DEPENDS+=	p5-Config-AutoConf-[0-9]*:../../devel/p5-Config-AutoConf
DEPENDS+=	p5-Path-Tiny-[0-9]*:../../filesystems/p5-Path-Tiny
DEPENDS+=	p5-JSON-MaybeXS-[0-9]*:../../converters/p5-JSON-MaybeXS
DEPENDS+=	p5-Type-Tiny-[0-9]*:../../devel/p5-Type-Tiny
DEPENDS+=	p5-Safe-Isa-[0-9]*:../../devel/p5-Safe-Isa

TEST_DEPENDS+=	p5-Test-Deep-[0-9]*:../../devel/p5-Test-Deep

# Authen::SCRAM::Client is not installed (version '0.009' required)
# BSON::Decimal128 is not installed (version '1' required)
# BSON::Types is not installed (any version required)
# Class::XSAccessor is not installed (any version required)
# Type::Tiny::XS is not installed (any version required)

PERL5_PACKLIST=	auto/MongoDB/.packlist

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
